package com.qyhl.shop.shop.shop;

import com.qyhl.webtv.commonlib.entity.shop.ShopDetailBean;

public interface ShopDetailContract {
    interface ShopDetailView {
        void setDetail(ShopDetailBean bean);

        void setError(String msg);

        void getCouponResult(String msg);

        void followResult(String msg,boolean isFollow);
    }

    interface ShopDetailPresenter {
        void getDetail(int shopId, String phoneNum);

        void getCoupon(String phoneNum, int couponId, String sign);

        void followShop(String phoneNum, int shopId, String sign);

        void unFollowShop(String phoneNum, int shopId, String sign);

        void setDetail(ShopDetailBean bean);

        void setError(String msg);

        void getCouponResult(String msg);

        void followResult(String msg,boolean isFollow);
    }

    interface ShopDetailModel {
        void getDetail(int shopId, String phoneNum);

        void getCoupon(String phoneNum, int couponId, String sign);

        void followShop(String phoneNum, int shopId, String sign);

        void unFollowShop(String phoneNum, int shopId, String sign);
    }
}
